﻿using H2.NET.Data.Common;
using H2.NET.Web.Pages.SMD.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace H2.NET.Web.Pages.SMD.Service
{
    public class BMCService
    {
        public static t_smd_BMCInfo GetByCode(string code)
        {
            return (t_smd_BMCInfo._BMCCode == code).ListFirst<t_smd_BMCInfo>(Storage.Context3);
        }
    }
}